package jp.co.ricoh.melody.utils;

import jp.co.ricoh.melody.application.BaseApplication;

/**
 * Copyright (C) 2016 RICOH Co.,LTD.
 * All rights reserved.
 */
public class ConstantUtils {
    public static final int DAY_OF_WEEK = 7;
    public static final int OFFSET_DAY_OF_WEEK = 1;

    public static final int NEW_ALARM_ID = -1;

    public static final int HOURS_MIN = 0;
    public static final int HOURS_MAX = 23;
    public static final int MINUTES_MIN = 0;
    public static final int MINUTES_MAX = 59;
    public static final String WHITE_SPACE_REGEX = "\\s+";

    public static final String SPACE_STRING = " ";
    public static final String EMPTY_STRING = "";
    public static final String SEPARATOR_BETWEEN_HOUR_AND_MINUTE = ":";
    public static final String PREFIX_IF_MINUTES_LESS_THAN_TEN = "0";
    public static final int MIN_VALUE_TO_PREFIX = 10;
    public static final int HOUR_OF_DAY = 12;

    public static final String ALARM_PREFS_KEY = "ALARM_PREFS_KEY";
    public static final String CHECK_FIRST_ADD_PREFS_KEY = "CHECK_FIRST_ADD_PREFS_KEY";
    public static final String CHARSET = "UTF-8";

    // HHDパス
    public final static String HDD_SAVE_PAHT = "/mnt/hdd/"
            + BaseApplication.getContext().getPackageName() + "/";

//    public final static String HDD_SAVE_PAHT = Environment.getExternalStorageDirectory()
//            .getPath() + "/"
//            + BaseApplication.getContext().getPackageName() + "/";

}
